﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
#parse("common/head.html")
<link href="icon.ico" type="image/x-icon" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="../css/style.css">
<link rel="stylesheet" type="text/css" href="../css/h_index.css">
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->
<script type="text/javascript" src="../js/m.js"></script>
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="../js/jquery/jquery.form.js" type="text/javascript"></script>
<script src="../js/pages/login.js" type="text/javascript"></script>
</head>
<body style="background:#FFF;">
<div class="rediv mt10P">
  <div class="loginl"> <img class="mt30" style="margin-bottom:30px;" src="../img/logo.png"> <img class="mt20" src="../images/login04.jpg"> <br/>
  </div>
  <div class="loginr" style="background:#FFF;">
    <div class="login-title">用户登录</div>
    <div class="loginrm">
      <div class="loginlb01"></div>
      <div class="loginlb retext08">
        <div class="successTips" id="successTips"></div>
        <div class="failTips" id="failTips" #if(!$!{form.errors["userLogin"]})style="display: none;"#end>$!{form.errors["userLogin"]}</div>
        <form name="login" id="loginForm" method="post" action="$!{form.domain}/member/login" style="float:left;">
          <input type="hidden" name="redirectURL" value="$!{form.redirectURL}" />
          <ul class="fomCont">
            <li>
              <input class="ipt cGray" type="text" value="$!{form.userName}" placeholder="用户名/注册邮箱" name="userName" id="user_name">
              #if($!{form.errors["userName"]})<div id="user_accountTip" class="ft12 lh12"><span class="ml10 colorr ">*</span><span class="ml10 colorr ">$!{form.errors["userName"]}</span></div>#end
            </li>
            <li class="mt20">
              <input class="ipt cGray" name="password" type="password" id="password" placeholder="密码">
             #if($!{form.errors["password"]})<div id="" class="ft12 lh12"><span class="ml10 colorr ">*</span><span class="ml10 colorr ">$!{form.errors["password"]}</span></div>#end
            </li>
			 <li class="mt20">
              <input class="ipt cGray" name="checkCode" type="text" id="checkcode" style="width:120px;" placeholder="验证码">
			  <a href="javascript:refreshCode();" ><img id="register_code" src="$!{form.domain}/validateimage/getcode"    height="20"> 看不清？换一张</a>
              #if($!{form.errors["checkCode"]})<div id="" class="ft12 lh12"><span class="ml10 colorr ">*</span><span class="ml10 colorr ">$!{form.errors["checkCode"]}</span></div>#end
            </li>
          </ul>
        </form>
        <div class="loginlb01"></div>
        <div class="loginrm"> <a href="javascript:LOGIN.onLogin();">
          <div style="width:100%;height:40px;line-height:40px;background:#188EEE;color:#FFF;font-weight:bold;">登&nbsp;&nbsp; 录</div>
          </a>
           <div class="retext08 mt20"> <a href="$!{form.domain}/member/find-password"><span class="retext05"> 忘记密码?</span></a> 还没有账号？<a href="$!{form.domain}/member/register"><span style="color:#188EEE;">点此注册</span></a></div>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
function refreshCode(){
  var nowDate = new Date();
  $("#register_code").attr("src","$!{form.domain}/validateimage/getcode?d="+nowDate.getTime());
}
</script>
</body>
</html>